﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： CustomerCardRelaEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/10/14
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("RelaId")]
	public class UserCardRela
	{
		///<summary>
		///
		///</summary>
		public UserCardRela()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("RelaId","主键")]
        public int RelaId { get; set; }

		///<summary>
		///用户Id
		///</summary>
        [Column("UserId", "用户Id")]
        public int UserId { get; set; }

		///<summary>
		///卡ID
		///</summary>
        [Column("CardId","卡ID")]
        public int CardId { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreatedDate","创建时间")]
        public DateTime CreatedDate { get; set; }

		///<summary>
		///逻辑删除
		///</summary>
        [Column("IsActive","逻辑删除")]
        public int IsActive { get; set; }

		///<summary>
		///修改时间
		///</summary>
        [Column("UpdatedDate","修改时间")]
        public DateTime UpdatedDate { get; set; }

        /// <summary>
        /// 卡号
        /// </summary>
        [Column("CardCode", "卡号")]
        public string CardCode { get; set; }

        /// <summary>
        /// 支付状态
        /// </summary>
        [Column("PayState", "支付状态")]
        public int PayState { set; get; }
    }
}